package com.company.project.dao;

import com.company.project.core.Mapper;
import com.company.project.model.Adviser;
import com.company.project.model.AdviserResume;
import org.apache.ibatis.annotations.Param;

import javax.persistence.Id;
import java.util.List;


public interface AdviserResumeMapper extends Mapper<AdviserResume> {
    /**
     * 修改顾问信息
     */
    Boolean deleteA(Adviser adviser);
    Boolean insertAR(Adviser adviser);

    /**
     * 添加顾问信息
     * @param adviser
     * @return
     */
    Boolean insert(Adviser adviser);

    /**
     * 删除顾问信息
     */
    Boolean deleteAR(@Param("id") Integer id);
}